import  logging
def caiji_log():
    logging.basicConfig(filename='ddd.log',filemode='w+',level=logging.DEBUG,format='%(filename)s->%(lineno)d-> %(asctime)s->%(message)s')